package com.business.system.bean;

import java.util.Date;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author: xudy
 * @date: 2018/04/07 16:10
 * @description:
 */
@Table(name = "GOODS_ORDERS")
public class GoodsOrdersBean extends ModelBean {
	@Column(pk = true, name = "ID", type = Type.定长文本, description = "编号", canNull = false, size = 32, policy = "UUID")
	private String id;

	@Column(name = "ORDER_NO", type = Type.变长文本, description = "订单编号", size = 50)
	private String orderNo;

	@Column(name = "USER_ID", type = Type.变长文本, description = "下单人", size = 32)
	private String userId;

	@Column(name = "USER_NAME", type = Type.变长文本, description = "收货人", size = 50)
	private String userName;

	@Column(name = "MOBILE", type = Type.变长文本, description = "联系电话", size = 50)
	private String mobile;

	@Column(name = "ADDRESS", type = Type.变长文本, description = "具体地址", size = 50)
	private String address;

	@Column(name = "ORDER_TIME", type = Type.日期时间, description = "下单时间")
	private Date orderTime;

	@Column(name = "DELIVERY_TIME", type = Type.日期时间, description = "发货时间")
	private Date deliveryTime;

	@Column(name = "EXPRESS_TYPE", type = Type.变长文本, description = "快递类型", size = 50)
	private String expressType;

	@Column(name = "EXPRESS_NO", type = Type.变长文本, description = "快递单号", size = 50)
	private String expressNo;

	@Column(name = "STATUS", type = Type.数字整型, description = "订单状态", size = 50)
	private int status;

	@Column(name = "TOTAL_FEE", type = Type.数字双精度型, description = "订单总金额")
	private double totalFee;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Date getDeliveryTime() {
		return deliveryTime;
	}

	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}

	public String getExpressType() {
		return expressType;
	}

	public void setExpressType(String expressType) {
		this.expressType = expressType;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public double getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(double totalFee) {
		this.totalFee = totalFee;
	}
}